@include('header')
@if(!$data)
	@include('empty_data')
@else
<link rel="stylesheet" href="{{asset('css/complaintsHistory.css')}}" />
<div class="content">
	<ul class="complainList">
		@foreach($data as $k=>$v)
		<li>
			<a href="{{asset('webview/complaints_detail?id='.$v->id)}}">
				<div class="complain-inner">
					{{$loop->iteration}}、{{$v->description}}({{$v->remarks}})
				</div>
				<p class="complain-time">
					{{$v->created_at}}
				</p>
			</a>
		</li>
		@endforeach
	</ul>
</div>
@endif